﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FreeProperty.Views.Shared;

namespace FreeProperty.Views.Main
{
    public partial class Logout : SiteBasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!ActiveUser.ID.IsNull)
            {
                Session.Clear();
                Session.Abandon();
                Response.Write("<script>ShowLogout(false);</script>");
            }
        }
    }
}